gtk: Speed up build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Oct 2021 02:55:31 +0000 (22:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 1 Oct 2021 03:30:48 +0000 (23:30 -0400)
commit802ad3920988d3d8104b9f438a820633a1ed76fd
tree6ff3c1229d102a2ee9b6ccf4d4c57b2f3d0917e1
parent200a2f5c71734aaf832c065e2583af303668bc4c
gtk: Speed up build

Avoid serializing the gresource blob into a C string
and running gcc over it. Instead, use ld to put it
directly into an .o file and add it to the build.

The build system machinations here were copied from
gobject/tests/meson.build, and should ideally be part
of the meson gnome module.
gtk/meson.build